package com.mf.entity.bo;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.ToString;

import java.io.Serial;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import lombok.Getter;
import lombok.Setter;

/**
 * @author mf
 * @since 2024-09-01
 */
@Getter
@ToString
@Setter
@TableName("p_work_info")

public class WorkInfoBo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 开始日期
     */
    private LocalDate start;

    /**
     * 结束日期
     */
    private LocalDate end;

    /**
     * 公司名称
     */
    private String companyName;

    /**
     * 担任职务
     */
    private String job;

    /**
     * 离开原因
     */
    private String leaveReason;

    /**
     * 证明人
     */
    private String certifier;

    /**
     * 证明人手机号
     */
    private String certifierPhone;

    /**
     * 备注
     */
    private String remark;

    /**
     * 0:已删除；1:使用
     */
    @TableLogic
    private Integer idDelete;

    /**
     * 花名册id
     */
    private Integer rosterId;

    private LocalDateTime createdTime;

    private LocalDateTime updateTime;
}